home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-04-09 | 1.9 KB | [TEXT/MMCC] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Sat Apr 9 16:26:08 1994, modified Sat Apr 9 16:26:08 1994, creator 'MMCC', type ASCII, 1349 bytes "TutorialMC.c" , at 0x5c5 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MMCC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 54 75 74 6f 72 69 | 61 6c 4d 43 2e 63 00 00 |..Tutori|alMC.c..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 00 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 05 45 00 | 00 01 7e a9 cc bf e0 a9 |......E.|..~.....|
|00000060| cc bf e0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 7c fd 00 00 |........|....|...|
|00000080| 2f 2a 20 54 75 74 6f 72 | 69 61 6c 20 4d 43 20 44 |/* Tutor|ial MC D|
|00000090| 65 6d 6f 6e 73 74 72 61 | 74 69 6f 6e 20 50 72 6f |emonstra|tion Pro|
|000000a0| 67 72 61 6d 20 2a 2f 0d | 2f 2a 20 a9 46 61 63 65 |gram */.|/* .Face|
|000000b0| 57 61 72 65 20 31 39 39 | 33 2d 39 34 2e 20 20 41 |Ware 199|3-94. A|
|000000c0| 6c 6c 20 52 69 67 68 74 | 73 20 52 65 73 65 72 76 |ll Right|s Reserv|
|000000d0| 65 64 2e 20 2a 2f 0d 0d | 23 69 6e 63 6c 75 64 65 |ed. */..|#include|
|000000e0| 20 3c 73 74 72 69 6e 67 | 2e 68 3e 0d 23 69 6e 63 | <string|.h>.#inc|
|000000f0| 6c 75 64 65 20 22 46 61 | 63 65 53 74 6f 72 4d 43 |lude "Fa|ceStorMC|
|00000100| 2e 68 22 0d 65 78 74 65 | 72 6e 20 73 74 72 75 63 |.h".exte|rn struc|
|00000110| 74 20 46 61 63 65 52 65 | 63 20 66 52 65 63 3b 0d |t FaceRe|c fRec;.|
|00000120| 0d 73 68 6f 72 74 20 74 | 68 65 46 6c 61 67 2c 74 |.short t|heFlag,t|
|00000130| 68 65 4c 69 73 74 49 74 | 65 6d 2c 74 68 65 4d 65 |heListIt|em,theMe|
|00000140| 6e 75 49 74 65 6d 3b 0d | 63 68 61 72 20 74 68 65 |nuItem;.|char the|
|00000150| 53 74 72 69 6e 67 5b 33 | 32 5d 3b 0d 0d 76 6f 69 |String[3|2];..voi|
|00000160| 64 20 6d 61 69 6e 28 29 | 0d 7b 0d 09 73 74 72 63 |d main()|.{..strc|
|00000170| 70 79 28 66 52 65 63 2e | 75 4e 61 6d 65 2c 20 22 |py(fRec.|uName, "|
|00000180| 54 75 74 6f 72 69 61 6c | 2e 52 73 72 63 22 29 3b |Tutorial|.Rsrc");|
|00000190| 0d 09 46 61 63 65 49 74 | 28 30 2c 44 6f 49 6e 69 |..FaceIt|(0,DoIni|
|000001a0| 74 2c 30 2c 30 2c 30 2c | 30 29 3b 0d 09 74 68 65 |t,0,0,0,|0);..the|
|000001b0| 46 6c 61 67 20 3d 20 30 | 3b 0d 09 74 68 65 4c 69 |Flag = 0|;..theLi|
|000001c0| 73 74 49 74 65 6d 20 3d | 20 33 3b 0d 09 74 68 65 |stItem =| 3;..the|
|000001d0| 4d 65 6e 75 49 74 65 6d | 20 3d 20 32 3b 0d 09 73 |MenuItem| = 2;..s|
|000001e0| 74 72 63 70 79 28 74 68 | 65 53 74 72 69 6e 67 2c |trcpy(th|eString,|
|000001f0| 22 48 65 6c 6c 6f 22 29 | 3b 0d 09 66 6f 72 20 28 |"Hello")|;..for (|
|00000200| 3b 3b 29 20 7b 0d 09 09 | 46 61 63 65 49 74 28 30 |;;) {...|FaceIt(0|
|00000210| 2c 44 6f 4c 6f 6f 70 2c | 30 2c 30 2c 30 2c 30 29 |,DoLoop,|0,0,0,0)|
|00000220| 3b 0d 09 09 69 66 20 28 | 28 66 52 65 63 2e 75 4d |;...if (|(fRec.uM|
|00000230| 65 6e 75 49 44 20 3d 3d | 20 31 30 35 29 26 26 28 |enuID ==| 105)&&(|
|00000240| 66 52 65 63 2e 75 4d 65 | 6e 75 49 74 65 6d 20 3d |fRec.uMe|nuItem =|
|00000250| 3d 20 31 29 29 0d 09 09 | 09 7b 0d 09 09 09 46 61 |= 1))...|.{....Fa|
|00000260| 63 65 49 74 28 30 2c 4e | 65 77 57 6e 64 2c 31 30 |ceIt(0,N|ewWnd,10|
|00000270| 31 30 2c 30 2c 30 2c 30 | 29 3b 0d 09 09 09 46 61 |10,0,0,0|);....Fa|
|00000280| 63 65 49 74 28 30 2c 47 | 65 74 43 74 6c 2c 31 30 |ceIt(0,G|etCtl,10|
|00000290| 31 30 2c 30 2c 31 2c 33 | 29 3b 0d 09 09 09 46 61 |10,0,1,3|);....Fa|
|000002a0| 63 65 49 74 28 30 2c 4c | 6e 6b 43 74 6c 2c 28 6c |ceIt(0,L|nkCtl,(l|
|000002b0| 6f 6e 67 29 66 52 65 63 | 2e 63 43 6f 6e 74 72 6f |ong)fRec|.cContro|
|000002c0| 6c 2c 28 6c 6f 6e 67 29 | 26 74 68 65 46 6c 61 67 |l,(long)|&theFlag|
|000002d0| 2c 32 2c 30 29 3b 0d 09 | 09 09 46 61 63 65 49 74 |,2,0);..|..FaceIt|
|000002e0| 28 30 2c 47 65 74 43 74 | 6c 2c 31 30 31 30 2c 30 |(0,GetCt|l,1010,0|
|000002f0| 2c 31 2c 34 29 3b 0d 09 | 09 09 46 61 63 65 49 74 |,1,4);..|..FaceIt|
|00000300| 28 30 2c 4c 6e 6b 43 74 | 6c 2c 28 6c 6f 6e 67 29 |(0,LnkCt|l,(long)|
|00000310| 66 52 65 63 2e 63 43 6f | 6e 74 72 6f 6c 2c 28 6c |fRec.cCo|ntrol,(l|
|00000320| 6f 6e 67 29 74 68 65 53 | 74 72 69 6e 67 2c 2d 33 |ong)theS|tring,-3|
|00000330| 31 2c 30 29 3b 0d 09 09 | 09 46 61 63 65 49 74 28 |1,0);...|.FaceIt(|
|00000340| 30 2c 47 65 74 43 74 6c | 2c 31 30 31 30 2c 30 2c |0,GetCtl|,1010,0,|
|00000350| 31 2c 35 29 3b 0d 09 09 | 09 46 61 63 65 49 74 28 |1,5);...|.FaceIt(|
|00000360| 30 2c 4c 6e 6b 43 74 6c | 2c 28 6c 6f 6e 67 29 66 |0,LnkCtl|,(long)f|
|00000370| 52 65 63 2e 63 43 6f 6e | 74 72 6f 6c 2c 28 6c 6f |Rec.cCon|trol,(lo|
|00000380| 6e 67 29 26 74 68 65 4c | 69 73 74 49 74 65 6d 2c |ng)&theL|istItem,|
|00000390| 32 2c 30 29 3b 0d 09 09 | 09 46 61 63 65 49 74 28 |2,0);...|.FaceIt(|
|000003a0| 30 2c 47 65 74 43 74 6c | 2c 31 30 31 30 2c 30 2c |0,GetCtl|,1010,0,|
|000003b0| 31 2c 36 29 3b 0d 09 09 | 09 46 61 63 65 49 74 28 |1,6);...|.FaceIt(|
|000003c0| 30 2c 4c 6e 6b 43 74 6c | 2c 28 6c 6f 6e 67 29 66 |0,LnkCtl|,(long)f|
|000003d0| 52 65 63 2e 63 43 6f 6e | 74 72 6f 6c 2c 28 6c 6f |Rec.cCon|trol,(lo|
|000003e0| 6e 67 29 26 74 68 65 4d | 65 6e 75 49 74 65 6d 2c |ng)&theM|enuItem,|
|000003f0| 32 2c 30 29 3b 0d 09 09 | 09 46 61 63 65 49 74 28 |2,0);...|.FaceIt(|
|00000400| 30 2c 53 65 74 56 61 6c | 2c 31 30 31 30 2c 30 2c |0,SetVal|,1010,0,|
|00000410| 30 2c 30 29 3b 0d 09 09 | 09 66 6f 72 20 28 3b 3b |0,0);...|.for (;;|
|00000420| 29 20 7b 0d 09 09 09 09 | 46 61 63 65 49 74 28 30 |) {.....|FaceIt(0|
|00000430| 2c 4d 64 6c 57 6e 64 2c | 31 30 31 30 2c 30 2c 30 |,MdlWnd,|1010,0,0|
|00000440| 2c 30 29 3b 0d 09 09 09 | 09 69 66 20 28 66 52 65 |,0);....|.if (fRe|
|00000450| 63 2e 75 4d 65 6e 75 49 | 44 20 3d 3d 20 31 30 31 |c.uMenuI|D == 101|
|00000460| 30 29 20 7b 0d 09 09 09 | 09 09 69 66 20 28 66 52 |0) {....|..if (fR|
|00000470| 65 63 2e 77 63 48 69 74 | 20 3d 3d 20 2d 31 29 0d |ec.wcHit| == -1).|
|00000480| 09 09 09 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 09 |......br|eak;....|
|00000490| 09 09 65 6c 73 65 20 69 | 66 20 28 66 52 65 63 2e |..else i|f (fRec.|
|000004a0| 77 63 48 69 74 20 3d 3d | 20 31 29 20 7b 0d 09 09 |wcHit ==| 1) {...|
|000004b0| 09 09 09 09 46 61 63 65 | 49 74 28 30 2c 47 65 74 |....Face|It(0,Get|
|000004c0| 56 61 6c 2c 31 30 31 30 | 2c 30 2c 30 2c 30 29 3b |Val,1010|,0,0,0);|
|000004d0| 0d 09 09 09 09 09 09 62 | 72 65 61 6b 3b 0d 09 09 |.......b|reak;...|
|000004e0| 09 09 09 09 7d 0d 09 09 | 09 09 09 65 6c 73 65 20 |....}...|...else |
|000004f0| 69 66 20 28 66 52 65 63 | 2e 77 63 48 69 74 20 3d |if (fRec|.wcHit =|
|00000500| 3d 20 32 29 20 7b 0d 09 | 09 09 09 09 09 46 61 63 |= 2) {..|.....Fac|
|00000510| 65 49 74 28 30 2c 47 65 | 74 43 74 6c 2c 31 30 31 |eIt(0,Ge|tCtl,101|
|00000520| 30 2c 30 2c 31 2c 38 29 | 3b 0d 09 09 09 09 09 09 |0,0,1,8)|;.......|
|00000530| 73 74 72 63 70 79 28 66 | 52 65 63 2e 75 53 74 72 |strcpy(f|Rec.uStr|
|00000540| 69 6e 67 2c 22 52 75 6e | 20 62 75 74 74 6f 6e 20 |ing,"Run| button |
|00000550| 77 61 73 20 68 69 74 2e | 22 29 3b 0d 09 09 09 09 |was hit.|");.....|
|00000560| 09 09 46 61 63 65 49 74 | 28 66 52 65 63 2e 63 43 |..FaceIt|(fRec.cC|
|00000570| 6f 6e 74 72 6f 6c 2c 31 | 35 36 35 2c 32 2c 30 2c |ontrol,1|565,2,0,|
|00000580| 30 2c 30 29 3b 0d 09 09 | 09 09 09 09 7d 0d 09 09 |0,0);...|....}...|
|00000590| 09 09 09 7d 0d 09 09 09 | 09 7d 0d 09 09 09 46 61 |...}....|.}....Fa|
|000005a0| 63 65 49 74 28 30 2c 45 | 6e 64 57 6e 64 2c 31 30 |ceIt(0,E|ndWnd,10|
|000005b0| 31 30 2c 30 2c 30 2c 30 | 29 3b 0d 09 09 09 7d 0d |10,0,0,0|);....}.|
|000005c0| 09 09 7d 0d 7d 00 00 00 | 00 00 00 00 00 00 00 00 |..}.}...|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000610| c7 8e 30 36 f7 95 33 92 | ff 9b 25 42 bf 95 06 c2 |..06..3.|..%B....|
|00000620| 8f 9a 85 42 ff ff ff fe | 00 00 00 00 00 00 00 00 |...B....|........|
|00000630| 0c 54 75 74 6f 72 69 61 | 6c 4d 43 2e 63 b5 02 00 |.Tutoria|lMC.c...|
|00000640| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000650| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 aa 02 9a 26 00 00 | 00 00 00 00 01 7e ff fe |.....&..|.....~..|
|00000680| ff ff ff fe ff ff ff fe | ff ff ff fe ff ff ff fe |........|........|
|00000690| ff ff ff fe ff ff ff fe | ff ff ff fe ff ff ff fe |........|........|
|000006a0| ff ff ff fe ff ff ff fe | 00 00 04 00 ff ff ff ff |........|........|
|000006b0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000006c0| ff ff ff ff 00 00 00 00 | 00 00 00 00 ff 02 02 02 |........|........|
|000006d0| 02 ac ac ac fb ab fb ab | fb ab fb ab fb ab fb ab |........|........|
|000006e0| fb ab fb ff 00 00 00 00 | 00 00 00 00 ff fc 04 04 |........|........|
|000006f0| 04 fe fe fe ab fc ab fc | ab fc ab fc ab fc ab fc |........|........|
|00000700| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 03 | 00 02 00 29 00 08 01 35 |........|...)...5|
|00000730| 01 b6 00 29 00 08 01 35 | 01 b6 a9 cc 79 e2 00 00 |...)...5|....y...|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000750| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 e4 bd 40 |...L...L|...2...@|
|00000760| 0c dc 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000770| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+